package edu.indiana.d2i.vmm.cloud;

public final class CloudInstanceInfo {
	public String publicIP;
	public String privateIP;
	public String instanceID;
	public String imageID;
	public String vmType;
	public String user;
	public String pwd;
	public String workDir;
	
	@Override
	public String toString() {
		return "CloudInstanceInfo [publicIP=" + publicIP + ", privateIP="
				+ privateIP + ", instanceID=" + instanceID + ", imageID="
				+ imageID + ", vmType=" + vmType + ", user=" + user + ", pwd="
				+ pwd + "]";
	}

	public CloudInstanceInfo() {}
	public CloudInstanceInfo(String publicIP, String privateIP) {
		this.publicIP = publicIP;
		this.privateIP = privateIP;
	}
	
	public CloudInstanceInfo setUser(String user) {
		this.user = user;
		return this;
	}
	
	public CloudInstanceInfo setPwd(String pwd) {
		this.pwd = pwd;
		return this;
	}
	
	public CloudInstanceInfo setPublicIP(String publicIP) {
		this.publicIP = publicIP;
		return this;
	}
	
	public CloudInstanceInfo setPrivateIP(String privateIP) {
		this.privateIP = privateIP;
		return this;
	}

	public CloudInstanceInfo setInstanceID(String instanceID) {
		this.instanceID = instanceID;
		return this;
	}

	public CloudInstanceInfo setImageID(String imageID) {
		this.imageID = imageID;
		return this;
	}

	public CloudInstanceInfo setVmType(String vmType) {
		this.vmType = vmType;
		return this;
	}
	
	public CloudInstanceInfo setWorkDir(String workDir) {
		this.workDir = workDir;
		return this;
	}
}
